package com.itheima.多态.多态的三种体现_03.普通类多态;

public class Animal {

    int age = 40;

    public void eat(){
        System.out.println("动物吃东西");
    }
}

class Cat extends Animal {
    int age = 18;

}
